#ifndef LIGHTSHADER_H
#define LIGHTSHADER_H

#include "baseshader.h"
#include <QMatrix4x4>

class LightShader : public BaseShader
{
    Q_OBJECT
public:
    LightShader(QObject *parent = Q_NULLPTR);
    virtual void initializeGL();
    virtual void paintGL();

    float vertices[216];
    QMatrix4x4 projection;
    QMatrix4x4 view;

private:
    GLuint aPos;

    GLuint vao;
    GLuint vbo;

    GLuint uniform_projection;
    GLuint uniform_view;
    GLuint uniform_model;
    GLuint uniform_lightColor;
};

#endif // LIGHTSHADER_H
